<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="MvcContrib.FluentHtml.ModelViewPage<Dgg.Anug.Cqrs.Core.Application.Admin.Commands.CreateVersion>" %>
<%@ Import Namespace="Dgg.Anug.Cqrs.Core.Presentation.Controllers" %>

<asp:Content ContentPlaceHolderID="TitleContent" runat="server">
	Create Version
</asp:Content>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">
    <h2>Create Version</h2>
    <% using (Html.BeginForm()) {%>
        <fieldset>
            <legend>Fields</legend>            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Name) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Name) %>
                <%: Html.ValidationMessageFor(model => model.Name) %>
            </div>
            <p><input type="submit" value="Create" /></p>
        </fieldset>
    <% } %>
    <div>
        <div><%= Html.ActionLink<AppVersionController>(c => c.List(), "Back To List") %></div>
    </div>
</asp:Content>

<asp:Content ContentPlaceHolderID="ScriptContent" runat="server">
</asp:Content>

